package com.shenmazong.servertalkseller.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shenmazong.pojo.TbSeller;
import com.shenmazong.pojo.TbSellerFeeRecord;

import com.shenmazong.vo.SellerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;


/**
 * @author 田不平
 * @project demo-easytalk
 * @date 2020/9/15 11:39 AM
 * http://www.shenmazong.com
 */

@Mapper
@Component(value = "tbSellerMapper")
public interface TbSellerMapper extends BaseMapper<TbSeller> {
    IPage<SellerVo> getFinishClassByPage(Page<SellerVo> page, @Param("userId") Integer userId );
    IPage<SellerVo> getWillClassByPage(Page<SellerVo> page, @Param("userId") Integer userId);
    IPage<SellerVo> getAllStudent(Page<SellerVo> page, @Param("userId") Integer userId);
    IPage<TbSellerFeeRecord> getClassFeeRecordByPage(Page<TbSellerFeeRecord> page, @Param("userId") Integer userId);
}
